//
//  EFCommunityViewController.m
//  EnjogFood
//
//  Created by 王芳 on 17/4/30.
//  Copyright © 2017年 wf. All rights reserved.
//

#import "EFCommunityViewController.h"
#import "EFLoginViewController.h"
#import "EFDeliveryAddressViewController.h"
#import "EFQuickPaySelectViewController.h"

@interface EFCommunityViewController ()

@end

@implementation EFCommunityViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    UIButton *btn1 = [[UIButton alloc] initWithFrame:CGRectMake(100, 100, 100, 30) NormalTitile:@"登录" Type:ZYJGreenButtonType];
    btn1.centerX = kScreenWidth/2.f;
    [btn1 addTarget:self action:@selector(onClickLoginBtn) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btn1];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


- (void)onClickLoginBtn{
//    EFLoginViewController *login = [[EFLoginViewController alloc] init];
//    [ICNavigator pushViewController:login animated:YES];
//    EFDeliveryAddressViewController *address = [[EFDeliveryAddressViewController alloc] init];
//    [ICNavigator pushViewController:address animated:YES];
    
    EFQuickPaySelectViewController *quickPay = [[EFQuickPaySelectViewController alloc] init];
    [ICNavigator pushViewController:quickPay animated:YES];
    
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
